package ModelImplementation

import "time"

type TimeCard struct {
	itsDate time.Time
	itsHours float64
}

func NewTimeCard(date time.Time, hours float64) TimeCard {
	return TimeCard{
		itsDate : date,
		itsHours : hours,
	}
}

func (t *TimeCard) GetDate() time.Time {
	return t.itsDate
}

func (t *TimeCard) GetHours() float64 {
	return t.itsHours
}

